package demo1;

public class Triangle {
    int a;
    int b;
    int c;

    public Triangle(int a1,int b1,int c1){

        a=a1;
        b=b1;
        c=c1;
    }

    public  boolean ValidateTriangle(){
        if(a+b<=c){
            return false;
        }else if (a+c<=b){
            return false;
        }else if(b+c<=a){
            return false;
        }
        return true;
    }

    public  void show(){

        if(ValidateTriangle()){
            System.out.println("can");
        }else {
            System.out.println("no");
        }
    }


}
